<div id="Remote-repositories"></div>
<div class="header">
<p>
Next: [[cvs: Read-only repository access#Read-only repository access|Read-only access]], Previous: [[cvs: Moving a repository#Moving a repository|Moving a repository]], Up: [[cvs: The Repository#The Repository|Repository]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>

----

<div id="Remote-repositories-1"></div>
=== Remote repositories ===
<div id="index-Repositories_002c-remote"></div>
<div id="index-Remote-repositories"></div>
<div id="index-Client_002fServer-Operation"></div>
<div id="index-Server_002c-CVS"></div>
<div id="index-Remote-repositories_002c-port-specification"></div>
<div id="index-Repositories_002c-remote_002c-port-specification"></div>
<div id="index-Client_002fServer-Operation_002c-port-specification"></div>
<div id="index-pserver-_0028client_002fserver-connection-method_0029_002c-port-specification"></div>
<div id="index-kserver-_0028client_002fserver-connection-method_0029_002c-port-specification"></div>
<div id="index-gserver-_0028client_002fserver-connection-method_0029_002c-port-specification"></div>
<div id="index-port_002c-specifying-for-remote-repositories"></div>

Your working copy of the sources can be on a
different machine than the repository.  Using <small>CVS</small>
in this manner is known as <em>client/server</em>
operation.  You run <small>CVS</small> on a machine which can
mount your working directory, known as the
<em>client</em>, and tell it to communicate to a machine
which can mount the repository, known as the
<em>server</em>.  Generally, using a remote
repository is just like using a local one, except that
the format of the repository name is:

<div class="example" style="margin-left: 3.2em">
 <nowiki>[</nowiki>:<var>method</var>:<nowiki>][[</nowiki><var>user</var><nowiki>][</nowiki>:<var>password</var><nowiki>]</nowiki>@<nowiki>]</nowiki><var>hostname</var><nowiki>[</nowiki>:<nowiki>[</nowiki><var>port</var><nowiki>]]</nowiki>/path/to/repository
</div>

Specifying a password in the repository name is not recommended during
checkout, since this will cause <small>CVS</small> to store a cleartext copy of the
password in each created directory.  <code>cvs login</code> first instead
(see [[cvs: Using the client with password authentication#Using the client with password authentication|Password authentication client]]).

The details of exactly what needs to be set up depend
on how you are connecting to the server.

If <var>method</var> is not specified, and the repository
name contains &lsquo;<code>:</code>&rsquo;, then the default is <code>ext</code>
or <code>server</code>, depending on your platform; both are
described in [[cvs: Connecting with rsh#Connecting with rsh|Connecting via rsh]].

 [[cvs: Server requirements#Server requirements|&bull; Server requirements]]::         Memory and other resources for servers
 [[cvs: Connecting with rsh#Connecting with rsh|&bull; Connecting via rsh]]::          Using the <code>rsh</code> program to connect
 [[cvs: Direct connection with password authentication#Direct connection with password authentication|&bull; Password authenticated]]::      Direct connections using passwords
 [[cvs: Direct connection with GSSAPI#Direct connection with GSSAPI|&bull; GSSAPI authenticated]]::        Direct connections using GSSAPI
 [[cvs: Direct connection with kerberos#Direct connection with kerberos|&bull; Kerberos authenticated]]::      Direct connections with kerberos
 [[cvs: Connecting with fork#Connecting with fork|&bull; Connecting via fork]]::         Using a forked <code>cvs server</code> to connect


----

<div class="header">
<p>
Next: [[cvs: Read-only repository access#Read-only repository access|Read-only access]], Previous: [[cvs: Moving a repository#Moving a repository|Moving a repository]], Up: [[cvs: The Repository#The Repository|Repository]] &nbsp; |[[cvs: Index#SEC_Contents|Contents]]||[[cvs: Index#Index|Index]]|</p>
</div>
This document was generated on <i>a sunny day</i> using [http://www.nongnu.org/texi2html/ <i>texi2html</i>].
